package net.projecteuler.problem7;

import org.testng.Assert;
import org.testng.annotations.Test;

public class PrimeNumberTest {
  @Test
  public void f() {
	  PrimeNumber pn = new PrimeNumber();
	  Assert.assertEquals(true, pn.isPrime(7));
	  Assert.assertEquals(false, pn.isPrime(4));
	  Assert.assertEquals(false, pn.isPrime(1));
	  Assert.assertEquals(13, pn.getPrime(6));
	  Assert.assertEquals(104743, pn.getPrime(10001));
  }
}
